Current Location: Home> Function Categories> is_nan

is_nan

Determine whether it is a legal value
Name:is_nan
Category:math
Programming Language:php
One-line Description:Determine whether it is a legal value.

Definition and usage

is_nan() determines whether it is a legal value.

Example

 <?php
echo is_nan ( 200 ) ;
echo is_nan ( acos ( 1.01 ) ) ;
?>

Try it yourself

grammar

 is_nan ( x )
parameter describe
x Required. Specify the value to be checked.

illustrate

If x is "non-numeric", such as the result of acos(1.01), returns true.

Similar Functions
  • Convert binary to decimal bindec

    bindec

    Convertbinarytodecim
  • Calculate the index of e exp

    exp

    Calculatetheindexofe
  • Inverse hyperbolic sine asinh

    asinh

    Inversehyperbolicsin
  • Square root sqrt

    sqrt

    Squareroot
  • Tilt tan

    tan

    Tilt
  • Convert angle to radians deg2rad

    deg2rad

    Convertangletoradian
  • Hyperbolic tangent tanh

    tanh

    Hyperbolictangent
  • Round the division result intdiv

    intdiv

    Roundthedivisionresu
Popular Articles